import service from '../utils/request'

// 分类列表
export function category_list(payload = {}) {
    return service.get('/api/category/list', { params: payload })
}

// 分类列表(二级分类)
export function category_subcate(payload = {}) {
    return service.get(' /api/category/subcate', { params: payload })
}